<?php
/*
 * Created on 26/08/2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 include("../funcoes/funcoes.php");
 $funcoes = new funcoes();
 
 $valorCompra 	= $funcoes -> moeda($_GET['valCompra']);
 $valorPago 	= $funcoes -> moeda($_GET['valPago']);
 
 $valoSaida = $valorCompra - $valorPago;
 
 echo $funcoes -> formataValor($valoSaida);
 
?>
